<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>门诊药房发药</title>
</head>
<body>
	<div id="fayao" class="easyui-layout" style="width: 100%; height: 100%">
		<div data-options="region:'west',title:'操作',split:true"
			style="width: 130px;">
			<ul style="list-style: none; margin: 5px; padding: 2px;">
				<li style="margin: 5px"><a url="to_outpatient_medcine_fayao"
					class="medcine_list easyui-linkbutton"
					data-options="iconCls:'icon-edit'">发药</a></li>
				<li style="margin: 5px"><a url="to_outpatient_medcine_yaodan"
					class="medcine_list easyui-linkbutton"
					data-options="iconCls:'icon-edit'">发药单</a></li>
				
			</ul>
		</div>
		<div
			data-options="region:'center',title:'区间',split:true,href:'to_outpatient_medcine_fayao'"
			style="padding: 5px;" id="medcine_center"></div>
	</div>
	<script>
		$(function() {

			$(".medcine_list").click(function() {
				var v = $(this).attr("url");
				console.log(v);
				$("#medcine_center").panel("refresh", v);

			});

		});
	</script>
</body>
</html>